package com.vdong.common.oauth.common.enums;

/**
 * @program: kpay-basics-srv
 * @description: 业务代码枚举
 * @author: Mr.Zhang
 * @create: 2018-06-11 15:56
 **/
public enum BizCodeEnum {
    //店铺
    STORE(10, "DP", "店铺"),
    USER(20, "YH", "用户"),
    COURSE(30, "KC", "课程"),
    COURSE_CAT(35, "KCFL", "课程分类"),
    ORDER(40, "DD", "订单"),
    QUESTION(45, "QN", "问答"),
    BANNER(50, "TP", "轮播图"),
    GROUPBUY(55, "PT", "拼团"),
    ;

    private int code;
    private String type;
    private String desc;

    BizCodeEnum(int code, String type, String desc) {
        this.code = code;
        this.type = type;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }
}
